package com.lanqiao.gxnushop.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Date;

@Schema(description ="评价表")
@Data
public class Reviews
{
    @Schema(description = "唯一标识评价")
    private String reviewId;

    @Schema(description = "关联 orders 表")
    private String orderId;

    @Schema(description = "关联 products 表")
    private String productId;

    @Schema(description = "关联 buyer 表")
    private String buyerId;

    @Schema(description = "评分（如 1-5 星）")
    private String rating;

    @Schema(description = "用户评价内容")
    private String comment;

    @Schema(description = "评价时间")
    private String date;
}
